package com.example.haojiutao.mapper;

import com.example.haojiutao.model.vo.response.OrderGoodsDetailVO;
import com.example.haojiutao.model.vo.response.ReOrderGoodsDetailVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description: 退货
 * @Author: zhou_yuan
 * @CreateTime： 2024/1/29 19:25
 */
@Mapper
public interface ReturnOrderMapper {
    int insertReturnOrder(ReOrderGoodsDetailVO reorder);


    int updateReturnOrder(ReOrderGoodsDetailVO reorder);

    ReOrderGoodsDetailVO selectByReOrderNumber(Integer reorderId);

    List<OrderGoodsDetailVO> selectListByUser(ReOrderGoodsDetailVO reorder);

    Integer updateDeleteFlagById(ReOrderGoodsDetailVO reorder);

    Integer selectCountByOrderNumber(Integer orderNumber);
}
